<template>
  <panel>
    <ymy-date-picker
      v-model="value"
      type="date"
      size="small"
      placeholder="选择日期"
      :picker-options="pickerOptions0">
    </ymy-date-picker>
  </panel>
</template>

<script>

  import ymyDatePicker from '@/components/business/ymyDatePicker';

  export default {
    components: {
      'ymy-date-picker': ymyDatePicker,
    },
    data() {
      return {
        pickerOptions0: {
          disabledDate(time) {
            return time.getTime() < Date.now() - 8.64e7;
          },
        },
        value: null,
      };
    },

  };
</script>
